projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4251fce
)
(boyer_moore): Get charset base value of `untranslated'
author
Kenichi Handa
<handa@m17n.org>
Tue, 11 May 1999 01:34:28 +0000
(
01:34
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Tue, 11 May 1999 01:34:28 +0000
(
01:34
+0000)
by masking by ~CHAR_FIELD3_MASK (instead of ~0xff).
src/search.c
patch
|
blob
|
history
diff --git
a/src/search.c
b/src/search.c
index 8137f9d18710d64d21c11a71ca93fdaff861c429..4b135a6a84a8e62831bd5bcafef70fdb10d4aeda 100644
(file)
--- a/
src/search.c
+++ b/
src/search.c
@@
-1623,7
+1623,7
@@
boyer_moore (n, base_pat, len, len_byte, trt, inverse_trt,
while (! CHAR_HEAD_P (*charstart))
charstart--;
untranslated = STRING_CHAR (charstart, ptr - charstart + 1);
- if (charset_base == (untranslated & ~
0xff
))
+ if (charset_base == (untranslated & ~
CHAR_FIELD3_MASK
))
{
TRANSLATE (ch, trt, untranslated);
if (! CHAR_HEAD_P (*ptr))